{
  "parent": "minecraft:recipes/root",
  "criteria": {
    "has_iron_ingot": {
      "conditions": {
        "items": [
          {
            "items": [
              "minecraft:iron_ingot"
            ]
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    },
    "has_the_recipe": {
      "conditions": {
        "recipe": "titanforgedpickaxe:upgrade_base"
      },
      "trigger": "minecraft:recipe_unlocked"
    }
  },
  "requirements": [
    [
      "has_iron_ingot",
      "has_the_recipe"
    ]
  ],
  "rewards": {
    "recipes": [
      "titanforgedpickaxe:upgrade_base"
    ]
  }
}